﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PostingDetails.aspx.cs" Inherits="PostingDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="cleaner_with_height"></div> 
     <div class="cleaner"></div>
    <div>
        <asp:DataList ID="dtlPostingDetails" runat="server">
            <ItemTemplate>
            <div style="width: 640px"  > 
            <img id="imgPostingDetails" alt="" src="<%# Eval("Url") %>" /><br /> <br />
            <div class="competition_item_left"> Posting name:</div><div class="competition_item_right"> <%# Eval("Postingname") %> </div><br />
            <div class="competition_item_left"> Quotations:</div> <div class="competition_item_right"><%# Eval("Quotations") %></div><br />
            <div class="competition_item_left"> Description:</div><div class="competition_item_right"> <%# Eval("Description") %></div><br />
            <div class="competition_item_left"> Price:</div> <div class="competition_item_right"><%# Eval("Price") %></div><br /><br />
            <div class="competition_item_left"> Status:</div> <div class="competition_item_right"><%# Eval("Status") %></div><br /><br />
            <div class="competition_item_left"> Student Name:</div> <div class="competition_item_right"><%# Eval("Fullname") %></div><br /><br />
            <%--    <span>Email: <%# Eval("Email") %></span><br />--%>
                <%--<span>Phone: <%# Eval("Phone") %></span><br />--%>                
                <asp:Panel runat="server" ID="pn_CustomerDetails">
                <asp:DataList ID="dtlSaleDetails" runat="server">
                    <ItemTemplate>
                   <br /> <div class="competition_item"> ------- Customer Details ------- </div><br />
                        <div class="competition_item_left">Customer name:</div><div class="competition_item_right"> <%# Eval("Fullname") %></div><br />
                        <div class="competition_item_left">Phone number:</div> <div class="competition_item_right"><%# Eval("Phone") %></div><br />
                       <div class="competition_item_left">Sale Date:</div><div class="competition_item_right"> <%# Eval("Selldate") %></div><br />
                       <div class="competition_item_left">Payment Status:</div><div class="competition_item_right"> <%#IsPayed(Eval("Paid").ToString()) %></div>
                    </ItemTemplate>
                </asp:DataList>
                </asp:Panel>
               </div>
            </ItemTemplate>            
        </asp:DataList>
       
        <asp:ImageButton ID="btnBuy" runat="server" 
            ImageUrl="~/Images/abebooks-add.gif" onclick="btnBuy_Click1" CssClass="button_add_cart" />
       
    </div>
</asp:Content>

